<?xml version="1.0" encoding="utf-8"?>
<openerp>
	<data>
		<record id="change_line_rate_view" model="ir.ui.view">
			<field name="name">change.line.rate.view</field>
			<field name="model">change.line.rate</field>
			<field name="type">form</field>
			<field name="arch" type="xml">
				<form string="Change Line Rate">
					<group>
						<field name="change_rate"/>
						<newline/>
						<group>
							<label string="Note: can only change the rate for same currency lines."/>
						</group>
						
					</group>
					<footer>
						<button name="change_rate_test" string="Validate" type="object" class="oe_highlight" default_focus="1" icon="gtk-go-forward"/>

	                    or
	                    <button string="Cancel" class="oe_link" special="cancel"/>
					</footer>
				</form>
			</field>
		</record>

		<record id="act_change_line_rate" model="ir.actions.act_window">
			<field name="name">Change Line Rate</field>
			<field name="type">ir.actions.act_window</field>
			<field name="res_model">change.line.rate</field>
			<field name="view_type">form</field>
			<field name="view_mode">form</field>
			<field name="view_id" ref="change_line_rate_view"/>
			<field name="target">new</field>
			<field name="multi">True</field>
		</record>

	</data>
</openerp>
